#pragma once

class Serialize
{
public:
	static char *Serialize8(char *ptr, unsigned char value);

	static char *Serialize16(char *ptr, unsigned short value);

	static char *Serialize32(char *ptr, unsigned int value);

	static char *Serialize64(char *ptr, unsigned long long value);

	static char *Deserialize8(char *ptr, unsigned char &value);

	static char *Deserialize16(char *ptr, unsigned short &value);

	static char *Deserialize32(char *ptr, unsigned int &value);

	static char *Deserialize64(char *ptr, unsigned long long &value);
};